snapshot: Directly clip color nodes
authorTimm Bäder <mail@baedert.org>
Tue, 12 Dec 2017 19:33:53 +0000 (20:33 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 21 Dec 2017 17:25:52 +0000 (18:25 +0100)
commitd9f1620b2fe46d90097dbbe96a867ac480d4408e
tree4ee5c50bca6e2150e5ec32884e7803cb6cd4069a
parent8107b1a2dd99457f72976d1abf3ded55cabe67b1
snapshot: Directly clip color nodes

Clipping a color node is trivial so we do it here directly since that
might later save the entire clip node as well as freeing the fragment
shaders from coloring lots of pixels that will be clipped away.
gtk/gtksnapshot.c